package com.marvels.approve.process.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.github.pagehelper.Page;
import com.marvels.approve.process.dto.FaceSigConfigurationDTO;

public interface IFaceSigConfiguractionDao {
	/**
	 * 新增参数配置明细
	 * @param record
	 * @return
	 */
	public int insertFaceSigAppointment(FaceSigConfigurationDTO faceSigConfigurationDTO);
	
	/**
	 * 修改參數配置明细
	 * @param faceSigConfigurationDTO
	 * @return
	 */
	public int updateFaceSigAppointment(FaceSigConfigurationDTO  faceSigConfigurationDTO);
    
	/**
	 * 获取流程状态
	 * @return
	 */
	public List<Map<String, Object>> selectCaseNode();
	
	
	/**
	 * 
	 * 获取面签预约时间起和预约时间止
	 * @return
	 */
	public Page<FaceSigConfigurationDTO> selectStartTime(@Param("historyVersionId")Integer historyVersionId);
	
	
	public FaceSigConfigurationDTO selectByPrimaryKey(Integer timeId);

}
